<table border="0" cellpadding="0" cellspacing="0">
<?if($_GET['gid'] or $_GET['search']) {?>
<tr>
	<td><a href="index.php?module=users"><?echo($GLOBALS['lang']['global']['all']);?></a></td>
</tr>
<?}?>
<tr>
      <form method="post" action="index.php?module=users">
	  <td class="body"><input type="text" size="15" class="button" value="<?echo($_POST['search']);?>" name="search"> <input type="submit" value="<?echo($GLOBALS['lang']['global']['search']);?>" class="button"></td>
	  </form>
</tr>
<tr>
	  <td class="body"><small><?echo($GLOBALS['lang']['global']['hint_search']);?></small></td>
</tr>
</table>
<table border="0" width="100%" class="tabelka2">
<tr>
	<?if($_SESSION['id']) {?>
	<td class="row_3" align="center"> </td>
	<?}?>
    <td class="row_3" align="center"><a href="index.php?module=users&amp;sortby=login&amp;sort={sortnext}&amp;search=<?echo($_POST['search']);?>&amp;gid=<?echo($_GET['gid']);?>"><?echo($GLOBALS['lang']['users']['login']);?></a></td>
	<td class="row_3" align="center"><a href="index.php?module=users&amp;sortby=name&amp;sort={sortnext}&amp;search=<?echo($_POST['search']);?>&amp;gid=<?echo($_GET['gid']);?>"><?echo($GLOBALS['lang']['users']['name']);?></a></td>
	<td class="row_3" align="center"><a href="index.php?module=users&amp;sortby=surname&amp;sort={sortnext}&amp;search=<?echo($_POST['search']);?>&amp;gid=<?echo($_GET['gid']);?>"><?echo($GLOBALS['lang']['users']['surname']);?></a></td>
    <td class="row_3" align="center"><a href="index.php?module=users&amp;sortby=gid&amp;sort={sortnext}&amp;search=<?echo($_POST['search']);?>&amp;gid=<?echo($_GET['gid']);?>"><?echo($GLOBALS['lang']['users']['group']);?></a></td>
</tr>
